#pragma once
#include "MovingChart.h"

// CMySlider

class CSliderMoveCtrl : public CSliderCtrl
{
	DECLARE_DYNAMIC(CSliderMoveCtrl)

public:
	CSliderMoveCtrl();
	virtual ~CSliderMoveCtrl();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	
	CMovingChart *m_chart;
	void setCtrlChart(CMovingChart *chart){m_chart = chart;};
	
	bool m_bSelected;
};


